package cn.wolfcode.p2p.bussness.domain;

import cn.wolfcode.p2p.base.domain.BaseAuthDomain;
import cn.wolfcode.p2p.base.util.Constants;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class BidRequestAuditHistory extends BaseAuthDomain {
    public static final int TYPE_PUBLISH = 0;//发标审核

    public static final int TYPE_AUDIT1 = 1;//满标一审

    public static final int TYPE_AUDIT2 = 2;//满标二审

    private Long bidRequestId; //借款id

    private int auditType;//审核类型

    public String getAuditTypeDisplay(){
        return auditType == Constants.RETURN_TYPE_MONTH_INTEREST_PRINCIPAL ? "按月分期还款" : "按月到期还款";
    }
}
